package cn.yunhe.entity;

import java.util.HashSet;
import java.util.Set;

public class Dept {
	// 职位 表 包括 管理员 和 科室
	private int deid;
	private String dename;
	private int destate;
    private Set<Emp> emps=new HashSet<Emp>();
    private Emp emp;
	public Dept() {
		super();
	}

	public Dept(int deid) {
		super();
		this.deid = deid;
	}

	public int getDeid() {
		return deid;
	}

	public void setDeid(int deid) {
		this.deid = deid;
	}

	public Set<Emp> getEmps() {
		return emps;
	}

	public void setEmps(Set<Emp> emps) {
		this.emps = emps;
	}

	public String getDename() {
		return dename;
	}

	public void setDename(String dename) {
		this.dename = dename;
	}

	public int getDestate() {
		return destate;
	}

	public void setDestate(int destate) {
		this.destate = destate;
	}

	public Dept(String dename) {
		super();
		this.dename = dename;
	}

	public Emp getEmp() {
		return emp;
	}

	public void setEmp(Emp emp) {
		this.emp = emp;
	}


	

	
}
